package cn.openea.perpartner.meily.web.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 商品sku表(ShopProductSku)表实体类
 *
 * @author Weird077
 * @since 2023-02-15 15:31:47
 */
@Data
@TableName("meily_shop_product_sku")
public class ShopProductSku implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    //商户id
    private String merchantId;
    //商品id
    private String productId;
    //sku串名称
    private String name;
    //主图
    private String picture;
    //价格
    private Double price;
    //市场价格
    private Double marketPrice;
    //成本价
    private Double costPrice;
    //拼团价格
    private Object wholesalePrice;
    //库存
    private Integer stock;
    //商品编码
    private String code;
    //商品条形码
    private String barcode;
    //商品重量
    private Double productWeight;
    //商品体积
    private Double productVolume;
    //排序
    private Integer sort;
    //sku串
    private String data;
    //状态[-1:删除;0:禁用;1启用]
    private Integer status;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    private String createUser;

    private String updateUser;


}

